import Vue from 'vue'
import App from './App.vue'
import router from './router'

import 'view-design/dist/styles/iview.css'
import { Button, Message, Input, Row, Col, List } from 'view-design'

Vue.component('i-button', Button)
Vue.component('i-input', Input)
Vue.component('i-row', Row)
Vue.component('i-col', Col)
Vue.component('i-list', List)
Vue.component('i-listItem', List.Item)
Vue.component('i-listItemMeta', List.Item.Meta)

// 挂载到Vue原型上
Vue.prototype.$Message = Message


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
